#ifndef MYSLIDER_H
#define MYSLIDER_H

#include <QSlider>

class MySlider : public QSlider
{
    Q_OBJECT
public:
    explicit MySlider(QString control, QWidget *parent = 0);

protected:
    void mouseReleaseEvent( QMouseEvent * event );
    void mousePressEvent( QMouseEvent * event );
    void mouseMoveEvent( QMouseEvent * event );
signals:

public slots:
    void refresh();

private:
    QString control;
    bool doNotRefresh;
};

#endif // MYSLIDER_H
